package cn.tedu.mybatis.mapper;

import cn.tedu.mybatis.pojo.entity.Weibo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface SelectMapper {
    @Select("select id,content,created,user_id as userId from weibo ")
    List<Weibo> selectWeibo();
}
